package org.example.system.service;

import org.example.commons.entity.SysFeedback;
import org.example.commons.entity.SysUser;
import org.example.commons.service.IBaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**
 * @author bothin
 */
public interface ISysFeedbackService extends IBaseService<SysFeedback> {
    Page<SysFeedback> searchList(String name, String content, Date[] dates, Pageable pageable);

    List<SysFeedback> findByFeedbackIdIn(Long[] ids);

    List<SysFeedback> queryLastFeedBydays(Integer days);
}
